﻿@using Abp.Web.Mvc.Extensions
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>@ViewBag.Title</title>
    @*--- jquery *@

    @Html.IncludeScript("~/Scripts/jquery-1.11.0.js")

    @*--- jquery ui *@
    @Html.IncludeScript("~/Scripts/jquery-ui-1.10.4.js")
    @Html.IncludeScript("~/Scripts/jquery-ui-1.10.4-i18n.js")

    @*--- jquery other *@
    @Html.IncludeScript("~/Scripts/jquery.form.js")

    @*--- bootstrap *@
    @Html.IncludeScript("~/Scripts/bootstrap3/js/bootstrap.min.js")

    @*--- framework js *@
    @Html.IncludeScript("~/Scripts/base/jstable/jstable.js")
    @Html.IncludeScript("~/Scripts/base/cls-page.js")
    @Html.IncludeScript("~/Scripts/base/cls-utility.js")
    @Html.IncludeScript("~/Scripts/base/cls-export.js")

    @*--- css files *@
    @Html.IncludeStyle("~/Scripts/base/jstable/themes/default/style.css")
    @Html.IncludeStyle("~/Content/themes-jquery-ui/redmond/jquery-ui.css")
    @Html.IncludeStyle("~/Content/themes-jquery-ui/redmond/jquery.ui.theme.css")
    @Html.IncludeStyle("~/Scripts/bootstrap3/css/bootstrap.min.css")

    @*--- h+ files *@
    @Html.IncludeStyle("~/Scripts/hplus/css/animate.min.css")
    @Html.IncludeStyle("~/Scripts/hplus/css/font-awesome.min93e3.css")
    @Html.IncludeStyle("~/Scripts/hplus/js/plugins/layer/skin/layer.css")
    @Html.IncludeStyle("~/Scripts/hplus/js/plugins/layer/skin/layer.ext.css")
    @Html.IncludeStyle("~/Scripts/hplus/css/style.min.css")


    @Html.IncludeScript("~/Scripts/hplus/js/plugins/layer/layer.min.js")
    @Html.IncludeScript("~/Scripts/hplus/js/plugins/layer/extend/layer.ext.js")
    @*这个文件自己写的*@
    @Html.IncludeScript("~/Scripts/hplus/js/dialog.js")


    <script type="text/javascript">
		$(function () {
        	/* 初始化异步Grid
			----------------------------------------------------------*/
        	page.ajaxGrid();

		});

		function SimpleConfirm(id, msg, url) {
			ConirmDialog({
				msg: msg,
				yes: function () {
					$.ajax({
						type: "POST",
						url: url,
						data: "id=" + id,
						success: function (msg) {
							if (msg && msg != true) {
								SysAlert(msg);
							}
							else {
								page.submit();
								SysMessage();
							}
						}
					});
				}
			});
		}

		//获取页面中被选中的checkbox
		function Getchecked() {
			var arrayObj = Array();
			$("input[name='checkboxItem']:checkbox").each(function () {
				if ($(this)[0].checked) {
					if ($(this).val() != 'on') {
						arrayObj.push($(this).val());
					}
				}
			})
			return arrayObj;
		}

		//批量代码明细
		function BatchDelete(msg, batchDeleteUrl) {
			var data = Getchecked();
			if (data.length == 0) {
				SysAlert("至少选择一项");
				return;
			}
			ConirmDialog({
				msg: msg,
				yes: function () {
					$.ajax({
						type: "post",
						url: batchDeleteUrl,
						data: { "ids": data },
						traditional: true,
						success: function (msg) {
							if (msg && msg != true) {
								SysAlert(msg);
							}
							else {
								page.submit();
								SysMessage();
							}
						}
					});
				}
			});
		}
    </script>
</head>
<body class="gray-bg" style="background-color:#f1f0ed">
    @RenderBody()
</body>
</html><head>
    <meta name="viewport" content="width=device-width" />
    <title>_Layout_HPlus_Index</title>
</head>
<body>
    <div> 
    </div>
</body>
</html>
